﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TalentPools.DAL;
namespace TalentPools.BLL
{
   public  class LoginManager
    {
       LoginService ls = new LoginService();
        #region 用户登录
       /// <summary>
       /// 用户登录
       /// </summary>
       /// <returns></returns>
       public bool getlogin(string name, string pass)
       {
           return ls.getlogin(name,pass);
       }
        #endregion
        #region 根据用户名称来查找用户ID用户名唯一
       /// <summary>
       /// 同户名
       /// </summary>
       /// <param name="name"></param>
       /// <returns></returns>
       public int getidByname(string name)
       {
           return ls.getidByname(name);
       }
        #endregion
    }
}
